package com.cat.service.impl;

import com.cat.dao.UserDao;
import com.cat.dao.impl.UserDaoImpl;
import com.cat.service.UserService;

import java.util.List;

/**
 * @author cat
 * @version 2025/5/22 20:18
 * @description
 * @since JDK17
 */

public class UserServiceImpl implements UserService {
    // 注入List
    private List<String> list;
    public void setList(List<String> list) {
        this.list = list;
    }

    private List<UserDao> userDaoList;

    public void setUserDaoList(List<UserDao> userDaoList) {
        this.userDaoList = userDaoList;
    }

    @Override
    public void show() {
        System.out.println(list);
        System.out.println(userDaoList);
    }
}
